#ifndef __AS_CONSTANT__H__
#define __AS_CONSTANT__H__

#include "..\base\ASDataType.h"
#include "..\base\ASStdLib.h"
#include "..\tool\ASLog.h"


/************************************************************************/
/* internal image resource information                                  */
/************************************************************************/
#define IMG_LOGO            "logo.bmp"
#define IMG_LOGO_W          148
#define IMG_LOGO_H          176

#define IMG_LOGO_S          "logo_small.bmp"
#define IMG_LOGO_S_W        65
#define IMG_LOGO_S_H        50

#define IMG_COPYRIGHT       "copyright.bmp"
#define IMG_CR_W            139
#define IMG_CR_H            34

#define IMG_BOTTOM          "bottom.bmp"
#define IMG_BOTTOM_W        4
#define IMG_BOTTOM_H        28

#define IMG_TOP             "top.bmp"
#define IMG_TOP_W           4
#define IMG_TOP_H           26

#define IMG_NUMPAD        "number_pad.bmp"
#define IMG_NUMPAD_W      160
#define IMG_NUMPAD_H      145

#define IMG_NUMRESULT     "number_result.bmp"
#define IMG_NUMRESULT_W      4
#define IMG_NUMRESULT_H      30

/*each sizes of list*/
#define IMG_NML_LIST_HL   "nml_list_h.bmp"
#define IMG_NML_LIST_HL_H 30
#define IMG_NML_LIST_HL_W 4
#define IMG_SML_LIST_HL   "sml_list_h.bmp"
#define IMG_SML_LIST_HL_H 20
#define IMG_SML_LIST_HL_W 4
#define IMG_LRG_LIST_HL   "lrg_list_h.bmp"
#define IMG_LRG_LIST_HL_H 40
#define IMG_LRG_LIST_HL_W 4

#define IMG_SCRLBAR_TILE "scrollbar_tile.bmp"
#define IMG_SCRLBAR_TAIL "scrollbar_tail.bmp"
#define IMG_SCRLBAR_W 4
#define IMG_SCRLBAR_H 4

/*bar below title*/
#define IMG_TITLE_BAR "title_bar.bmp"
#define IMG_TITLE_BAR_W 4
#define IMG_TITLE_BAR_H 30
#define IMG_TITLE_BAR_AR_L_U "title_bar_l_u.bmp"
#define IMG_TITLE_BAR_AR_L_D "title_bar_l_d.bmp"
#define IMG_TITLE_BAR_AR_R_U "title_bar_r_u.bmp"
#define IMG_TITLE_BAR_AR_R_D "title_bar_r_d.bmp"
#define IMG_TITLE_BAR_AR_W 27
#define IMG_TITLE_BAR_AR_H 30

/*small top titles*/
#define IMG_SMALL_TOP IMG_TOP
#define IMG_SMALL_TOP_W IMG_TOP_W
#define IMG_SMALL_TOP_H IMG_TOP_H

/*income and pay bar*/
#define IMG_PAY_BAR "pay_bar.bmp"
#define IMG_INCOME_BAR "income_bar.bmp"
#define IMG_STAT_BAR_W 1
#define IMG_STAT_BAR_H 22

#define IMG_PAY_BAR_SML "pay_bar_sml.bmp"
#define IMG_INCOME_BAR_SML "income_bar_sml.bmp"
#define IMG_STAT_BAR_SML_W 1
#define IMG_STAT_BAR_SML_H 10

void as_sync_internal_img_info(void);
void as_get_internal_img_res_size(ASCHAR* name, ASINT* res_w, ASINT* res_h);


#endif//__AS_CONSTANT__H__